const messageApi = {
  getReadMessage: {
    method: 'get',
    url: '/api/message/read'
  },
  getUnreadMessage: {
    method: 'get',
    url: '/api/message/unread'
  },
  getSentMessage: {
    method: 'get',
    url: '/api/message/sent'
  },
  sendMessage: {
    method: 'post',
    url: '/api/process/message'
  },
  readMessage: {
    method: 'put',
    url: '/api/message'
  },
  sendToManager: {
    method: 'post',
    url: '/api/process/messageToManager'
  }
};

export default messageApi;
